package com.juyu.miliao.api.dao.mysql;

import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class SystemMessageDao {
	@Autowired
	private SqlSession sqlSession;

	public String getMessageByKey(String key){
		return sqlSession.selectOne("getMessageByKey", key);
	}
	
}
